package com.learn.educourseboot.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.learn.eduapi.entity.Course;
import com.learn.eduapi.entity.CourseActivity;

import java.util.List;

/**
 * @BelongsProject: edu-learn
 * @Author:
 * @CreateTime: 2020-10-16 16:16
 * @Description:
 */
public interface CourseActivityService extends IService<CourseActivity> {

    /**
     * 减少课程活动库存
     * @param activityId
     * @return
     */
    CourseActivity reduceActivityStock(Long activityId);
}
